
import * as actionTypes from "./action-types";

//存储首页分页页数
export const storePage = function (page) {
    return { type: actionTypes.STORE_PAGE,page };
}
export const storeHasMore = function (hasMore) {
    return { type: actionTypes.STORE_HASMORE,hasMore };
}
export const storeArticles = function (articles) {
    return { type: actionTypes.STORE_ARTICLES,articles };
}

export const storeCategories = function (categories) {
    return { type: actionTypes.SAVE_CATEGORIES,categories };
}

